<h1>Listing resources</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Url</th>
    <th>Captured at</th>
  </tr>

<% @resources.each do |resource| %>
  <tr>
    <td><%=h resource.title %></td>
    <td><%=h resource.url %></td>
    <td><%=h resource.updated_at %></td>
    <td><%= link_to 'Show', resource %></td>
    <td><%= link_to 'Edit', edit_resource_path(resource) %></td>
    <td><%= link_to 'Destroy', resource, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New resource', new_resource_path %>